import { Spin as AntSpin, SpinProps } from 'antd';

export const Spin = ({ size }: SpinProps) => {
  return (
    <div style={{ display: 'flex', justifyContent: 'center', alignItems: 'center', height: '100vh' }}>
      <AntSpin size={size} />
    </div>
  );
};
